WORST_CASE(?,O(n^1)) Solution: --------- "Cons" :: ["A"(3) x "A"(3)] -(3)-> "A"(3) "Cons" :: ["A"(0) x "A"(0)] -(0)-> "A"(0) "Nil" :: [] -(0)-> "A"(3) "Nil" :: [] -(0)-> "A"(14) "Nil" :: [] -(0)-> "A"(12) "Nil" :: [] -(0)-> "A"(10) "Nil" :: [] -(0)-> "A"(8) "Nil" :: [] -(0)-> "A"(11) "Nil" :: [] -(0)-> "A"(15) "Nil" :: [] -(0)-> "A"(13) "decrease" :: ["A"(3)] -(15)-> "A"(0) "goal" :: ["A"(11)] -(16)-> "A"(0) "number42" :: ["A"(3)] -(14)-> "A"(0) Cost Free Signatures: --------------------- "Cons" :: ["A"_cf(0) x "A"_cf(0)] -(0)-> "A"_cf(0) "Nil" :: [] -(0)-> "A"_cf(0) "decrease" :: ["A"_cf(0)] -(0)-> "A"_cf(0) "number42" :: ["A"_cf(0)] -(0)-> "A"_cf(0) Base Constructors: ------------------ "\"Cons\"_A" :: ["A"(1) x "A"(1)] -(1)-> "A"(1) "\"Nil\"_A" :: [] -(0)-> "A"(1)